/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package lego;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Root</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link lego.Root#getRobots <em>Robots</em>}</li>
 *   <li>{@link lego.Root#getComponents <em>Components</em>}</li>
 *   <li>{@link lego.Root#getNetworks <em>Networks</em>}</li>
 * </ul>
 * </p>
 *
 * @see lego.LegoPackage#getRoot()
 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='sensorPortUnicity actionerPortUnicity masterUnicity'"
 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot sensorPortUnicity='SensorPort.allInstances()->forAll(s1 : SensorPort, s2 : SensorPort | s1.sensor = s2.sensor implies s1.sensor = null and s2.sensor = null)' actionerPortUnicity='ActionerPort.allInstances()->forAll(a1 : ActionerPort, a2 : ActionerPort | a1.actioner <> a2.actioner or a2.actioner = null and a1.actioner = null)' masterUnicity='PicoNet.allInstances()->forAll(p1 : PicoNet | p1.slaves->forAll(s : Robot | s <> p1.master))'"
 * @generated
 */
public interface Root extends EObject {
	/**
	 * Returns the value of the '<em><b>Robots</b></em>' containment reference list.
	 * The list contents are of type {@link lego.Robot}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Robots</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Robots</em>' containment reference list.
	 * @see lego.LegoPackage#getRoot_Robots()
	 * @model containment="true"
	 * @generated
	 */
	EList<Robot> getRobots();

	/**
	 * Returns the value of the '<em><b>Components</b></em>' containment reference list.
	 * The list contents are of type {@link lego.Component}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Components</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Components</em>' containment reference list.
	 * @see lego.LegoPackage#getRoot_Components()
	 * @model containment="true"
	 * @generated
	 */
	EList<Component> getComponents();

	/**
	 * Returns the value of the '<em><b>Networks</b></em>' containment reference list.
	 * The list contents are of type {@link lego.PicoNet}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Networks</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Networks</em>' containment reference list.
	 * @see lego.LegoPackage#getRoot_Networks()
	 * @model containment="true"
	 * @generated
	 */
	EList<PicoNet> getNetworks();

} // Root
